how to pass this as an argument in constructor call